import './StatusIndicator.css';

const StatusIndicator = ({ status = { text: '就绪', type: 'ready' } }) => {
  return (
    <div className={`status-indicator ${status.type}`}>
      <div className="status-dot"></div>
      <span className="status-text">
        {status.text}
      </span>
    </div>
  );
};

export default StatusIndicator;
